<%--
  Created by IntelliJ IDEA.
  User: Khacheresyants.l
  Date: 3/4/14
  Time: 12:21 PM
  To change this template use File | Settings | File Templates.
--%>
<%@tag description="User search form template" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@attribute name="parametr" required="false" type="java.lang.String" %>


    <div class="row">
        <div class="col-xs-12">
            <form action="<c:url value='/search"'/>" method="get">
                <div class="input-group">

                    <input  type="text" name="param"
                    <c:if test="${parametr != null}">
                           value="${parametr}"
                    </c:if> class="form-control">

                        <span class="input-group-btn">
                            <button class="btn btn-default" type="submit">FIND!</button>
                        </span>
                </div>
            </form>
        </div>
    </div>
